package com.cmes.core.constant.enums;

import com.cmes.core.utils.dict.IntegerDict;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 1是0否
 *
 * @author Bruce.Gong
 * @since 1.0.0-SNAPSHOT
 */
@Getter
@RequiredArgsConstructor
public enum BooleanStatus implements IntegerDict {

    // 是否
    NO  (0, "否"),
    YES (1, "是");

    private final Integer code;
    private final String value;

}
